---缇娜暴击增加能量
---@class SkillEffect32100:BaseSkillEffect
SkillEffect32100 = ClientFight.CreateClass("SkillEffect32100",ClientFight.BaseSkillEffect)
local t = SkillEffect32100
---@param skill FightUsingSkill
---@param target Fighter
---@param result FightResult
function t:damageAfter(skill,target,result)
    if (result:getState() == DamageResultTypeEnum.CRIT) then
        local fight = skill.fight
        local scriptTarams = skill.skill.skillBean.f_SkillScriptParameter

        SkillRoleMgr.savePathFile(
                "[" .. fight.frame .. "][SKILL]" .. skill.fighter.fighterId .. "对"
                        .. skill.target.fighterId .. "攻击，使用技能"
                        .. skill.skill.skillBean.f_SkillID .. "产生暴击,增加buff" .. scriptTarams[0]
        );

        BuffManager.addBuff(fight, skill, skill.fighter, skill.fighter, false, scriptTarams[1], 1, skill.parameters)
    end
end
function t:prepareSkill( skill, position)
    return false;
end

function t:releaseSkill( skill)
    return false;
end

function t:attack( skill, target)
    return false;
end
function t:finishSkill( skill, breakin)
    return false;
end

t.New()